package soar.template.spring.websocket.chat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@PropertySource(value = { "file:config/application.yaml" })
public class Application
//extends SpringBootServletInitializer
{
//    @Override
//    protected SpringApplicationBuilder configure(
//            SpringApplicationBuilder builder)
//    {
//        return builder.sources(Application.class);
//    }

    public static void main(String[] args)
    {
        SpringApplication app = new SpringApplication(Application.class);
        app.run(args);
    }
}
